package com.ruoyi.book.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 book_info
 * 
 * @author wcm
 * @date 2022-03-31
 */
public class BookInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 名称 */
    @Excel(name = "名称")
    private String bookName;

    /** 类型 */
    @Excel(name = "类型")
    private String bookType;

    /** 库存 */
    @Excel(name = "库存")
    private Long bookInventory;

    /** 作者 */
    @Excel(name = "作者")
    private String author;

    /** 删除标记 */
    private String delFlag;

    /** 出版社 */
    @Excel(name = "出版社")
    private String press;

    /** 下架 */
    //@Excel(name = "下架")
    private Long unshelve;

    private String typeName;
    @Excel(name = "租金/日")
    private double rent;

    public double getRent() {
        return rent;
    }

    public void setRent(double rent) {
        this.rent = rent;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setBookName(String bookName) 
    {
        this.bookName = bookName;
    }

    public String getBookName() 
    {
        return bookName;
    }
    public void setBookType(String bookType) 
    {
        this.bookType = bookType;
    }

    public String getBookType() 
    {
        return bookType;
    }
    public void setBookInventory(Long bookInventory) 
    {
        this.bookInventory = bookInventory;
    }

    public Long getBookInventory() 
    {
        return bookInventory;
    }
    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setPress(String press) 
    {
        this.press = press;
    }

    public String getPress() 
    {
        return press;
    }
    public void setUnshelve(Long unshelve) 
    {
        this.unshelve = unshelve;
    }

    public Long getUnshelve() 
    {
        return unshelve;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bookName", getBookName())
            .append("bookType", getBookType())
            .append("bookInventory", getBookInventory())
            .append("author", getAuthor())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("press", getPress())
            .append("unshelve", getUnshelve())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
